﻿using Omniscient.Foundation.Data;

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Omniscient.TimeTracker.Data
{
    public class Category: EntityBase 
    {
        public Category()
        { }

        public Category(Guid id, bool entityIsLoaded)
            : base(id, entityIsLoaded)
        { }

        public Category(string name)
            : this(name, null)
        {}

        public Category(string name, string description)
            : this()
        {
            Name = name;
            Description = description;
        }

        public string Name { get; set; }
        public string Description { get; set; }
    }
}
